Learning Moore Machines from Input-Output Traces

نویسندگان

  • Georgios Giantamidis
  • Stavros Tripakis
چکیده

The problem of learning automata from example traces (but no equivalence or membership queries) is fundamental in automata learning theory and practice. In this paper we study this problem for finite state machines with inputs and outputs, and in particular for Moore machines. We introduce three algorithms for solving this problem: (1) the PTAP algorithm, which transforms a set of inputoutput traces into an incomplete Moore machine and then completes that machine with self-loops; (2) the PRPNI algorithm, which uses the well-known RPNI algorithm for automata learning to learn a product of automata encoding a Moore machine; and (3) the MooreMI algorithm, which directly learns a Moore machine using PTAP extended with state merging. We prove that MooreMI always learns the right machine when the training set is a characteristic sample, which is generally not true for the other two algorithms. We also compare the algorithms experimentally in terms of the size of the learned machine and several notions of accuracy, introduced in this paper. Finally, we compare with OSTIA, an algorithm that learns a more general class of transducers, and find that OSTIA generally does not learn a Moore machine, even when fed with a characteristic sample.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Beyond Mealy Machines: Learning Translators with Recurrent Neural Networks

Recent work has shown that recurrent neural networks can be trained to behave as nite-state automata from samples of input strings and their corresponding outputs. However, most of the work has focused on training simple networks to behave as the simplest class of deterministic machines, Mealy (or Moore) machines. The class of translations that can be performed by these machines are very limite...

متن کامل

The Effect of Input, Input-output andOutput-input Modes of Teaching on Vocabulary Learning of Iranian EFL Learners

This study was designed to find which one of the three different presentations, i.e. input, input-output, and output-input, will be more effective in Iranian EFL learners' vocabulary acquisitions. To this end, first 54 out of 64 female students, aged from 19 to 23 years, with an average of 21, were selected out of starter-level EFL learners at the University of Tarbiat Moalem in Bandar Abbas, I...

متن کامل

Mealy Machines are a Better Model of Lexical Analyzers

Abstract—Lexical analyzers partition input characters into tokens. When ambiguities arise during lexical analysis, the longest-match rule is generally adopted to resolve the ambiguities. The longest-match rule causes the look-ahead problem in traditional lexical analyzers, which are based on Moore machines. In Moore machines, output tokens are associated with states of the automata. By contrast...

متن کامل

Learning Product Automata

In this paper we give an optimization for active learning algorithms, applicable to learning Moore machines where the output comprises several observables. These machines can be decomposed themselves by projecting on each observable, resulting in smaller components. These components can then be learnt with fewer queries. This is in particular interesting for learning software, where composition...

متن کامل

A Comparative Study of Effects of Input-Based, Meaning-Based Output, and Traditional Instructions on EFL Learners’ Grammar Learning

This quasi-experimental study examined the effects of input-based, meaning-based output (MO) and traditional instruction (TI) on EFL learners’ grammar learning. To this end, 120 junior high school students were selected from 4 intact classes. Each class was assigned to an instructional condition, that is, textual enhancement (TE), input flood (IF), MO, and TI. Before the treatment, a multiple-c...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2016